<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<button onclick="addr()"></button>
//自带fresh方法
<button onclick="refresh()"></button>
<button onclick="jump()"></button>
<a href="www.baidu.com"></a>
<a href="javascript:method1()">修改默认的点击事件</a>
</body>
<script>
  var ebi= document.getElementById("but1");
</script>
</html>